As per Little Lemon's requirements, the menu items should be fetched from the server only once. The data is stored in an SQLite database and loaded from there when the subsequent app starts. What configuration allows you to retrieve the items only once?
Which of the following code snippets would you use to fetch and render images from the network in React Native?
The requirement for Little Lemon’s hero banner search bar is to minimize the amount of database hits. This is to avoid querying the database too often, likeevery time a new character is typed, since it’s likely the user could type a new character right after and the previous query renders useless. What’s the best technique that allows you to accomplish this requirement?
What’s the best place in a React Native application to create a table in an SQLite database, if the table doesn’t exist?
Imagine you would like to query all salads in the menu from an SQLite database table called menu_items . To do that, you type the characters, “Sal” inside the hero banner search bar. Which of the following SQL statements performs this query correctly?